package com.clientmanage.mapper;

import com.clientmanage.domain.bean.ServiceItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.clientmanage.domain.vo.serviceItemVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author HUANG
 * @since 2025-06-30
 */
@Mapper
public interface ServiceItemMapper extends BaseMapper<ServiceItem> {
    /**
     * 分页+条件查询服务项目VO
     */
    List<serviceItemVo> selectPageVo(@Param("name") String name,
                                     @Param("category") String category,
                                     @Param("enabled") Boolean enabled,
                                     @Param("pageSize") Integer pageSize,
                                     @Param("offset") Integer offset);
}
